﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace BLL
{
    public class RoleBll
    {
        DAL.RoleDal dal = new DAL.RoleDal();

        public DataTable GetAllRole()
        {
            return dal.GetAllRole();
        }

        public bool AddRole(string roleName)
        {
            return dal.AddRole(roleName);
        }

        public bool DeleteRole(int roleId)
        {
            return dal.DeleteRole(roleId);
        }

        
    }
}
